package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 意见建议对象 advice_ask
 * 
 * @author ruoyi
 * @date 2025-09-04
 */
public class AdviceAsk extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 意见ID */
    private String adviceId;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickName;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String lianxifangshi;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 正文 */
    @Excel(name = "正文")
    private String content;

    /** 留言时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "留言时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date liuyanshijian;

    /** IP */
    @Excel(name = "IP")
    private String ip;

    /** 所属栏目 */
    @Excel(name = "所属栏目")
    private String category;

    /** 是否显示 */
    @Excel(name = "是否显示")
    private String isVisible;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String char1;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String char2;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String char3;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String char4;

    public void setAdviceId(String adviceId) 
    {
        this.adviceId = adviceId;
    }

    public String getAdviceId() 
    {
        return adviceId;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setLianxifangshi(String lianxifangshi) 
    {
        this.lianxifangshi = lianxifangshi;
    }

    public String getLianxifangshi() 
    {
        return lianxifangshi;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setLiuyanshijian(Date liuyanshijian) 
    {
        this.liuyanshijian = liuyanshijian;
    }

    public Date getLiuyanshijian() 
    {
        return liuyanshijian;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }
    public void setIsVisible(String isVisible) 
    {
        this.isVisible = isVisible;
    }

    public String getIsVisible() 
    {
        return isVisible;
    }
    public void setChar1(String char1) 
    {
        this.char1 = char1;
    }

    public String getChar1() 
    {
        return char1;
    }
    public void setChar2(String char2) 
    {
        this.char2 = char2;
    }

    public String getChar2() 
    {
        return char2;
    }
    public void setChar3(String char3) 
    {
        this.char3 = char3;
    }

    public String getChar3() 
    {
        return char3;
    }
    public void setChar4(String char4) 
    {
        this.char4 = char4;
    }

    public String getChar4() 
    {
        return char4;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("adviceId", getAdviceId())
            .append("nickName", getNickName())
            .append("lianxifangshi", getLianxifangshi())
            .append("title", getTitle())
            .append("content", getContent())
            .append("liuyanshijian", getLiuyanshijian())
            .append("ip", getIp())
            .append("category", getCategory())
            .append("isVisible", getIsVisible())
            .append("char1", getChar1())
            .append("char2", getChar2())
            .append("char3", getChar3())
            .append("char4", getChar4())
            .toString();
    }
}
